import request from '@/util/request.js'
//登录方法api接口

//登录方法实现
export function login(params) {
    return request({
        url: '/auth/user/login',//http://127.0.0.1:9000/api/auth/login
        method: 'post',
        params
    })
}

//注销方法实现
export function logout() {
    return request({
        url: '/auth/user/logout',//http://127.0.0.1:9000/api/auth/login
        method: 'get'
    })
}